package org.minapp.idiom.web;

import org.minapp.idiom.base.Result;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;

@At("/authority")
@Ok("json")
public class AuthorityController {

    @At("/noLoginJSON")

    public Object noLogin(){
        return Result.error(-99,"未登录,无权访问!");
    }
}
